home *** CD-ROM | disk | FTP | other *** search
/ PC World Komputer 2010 April / PCWorld0410.iso / hity wydania / trueSpace 7.6 / tS761B8Std.exe / {app} / Scripts / MaterialEditor / Bricks / Logical / All.HLSL.Brick.xml next >
Extensible Markup Language  |  2008-06-10  |  1KB  |  27 lines

  1. <?xml version="1.0" encoding="utf-8" ?> 
  2. <ME_BRICK GUID="{4F690551-9D25-49B9-84FA-7E2BA4311D81}" Name="RtAll" GUIName="All" Description="Return nonzero value if all components of input are nonzero [all]">
  3.     <ME_BRICK_INPUTPARAM GUID="{ABCAF6F7-57A1-42DD-8E80-590D4ABFBFF4}" Name="Input" Type="RtNumeric"/>
  4.     <ME_BRICK_OUTPUTPARAM GUID="{E3D027C0-0211-4326-B571-5DC0BAD716B4}" Name="Result" Type="RtFloat"/>
  5.     <ME_BRICK_CODE><![CDATA[
  6.         void RtAll(in RtFloat Input, out RtFloat Result) {
  7.             Result = rtx_All(Input);
  8.         }
  9.  
  10.         void RtAll(in RtFloat3 Input, out RtFloat Result) {
  11.             Result = rtx_All(Input);
  12.         }
  13.  
  14.         void RtAll(in RtFloat4 Input, out RtFloat Result) {
  15.             Result = rtx_All(Input);
  16.         }
  17.  
  18.         void RtAll(in RtFloat3x3 Input, out RtFloat Result) {
  19.             Result = rtx_All(Input);
  20.         }
  21.  
  22.         void RtAll(in RtFloat4x4 Input, out RtFloat Result) {
  23.             Result = rtx_All(Input);
  24.         }
  25.     ]]></ME_BRICK_CODE>
  26. </ME_BRICK>
  27.